Biconnectivity, Chain Decomposition and st-Numbering Using O(n) Bits
نویسندگان
چکیده
Recent work by Elmasry et al. (STACS 2015) and Asano et al. (ISAAC 2014) reconsidered classical fundamental graph algorithms focusing on improving the space complexity. Elmasry et al. gave, among others, an implementation of depth first search (DFS) of a graph on n vertices and m edges, taking O(m lg lgn) time1 using O(n) bits of space improving on the time bound of O(m lgn) due to Asano et al. Subsequently Banerjee et al. (COCOON 2016) gave an O(m+ n) time implementation using O(m+n) bits, for DFS and its classical applications (including testing for biconnectivity, and finding cut vertices and cut edges). Recently, Kammer et al. (MFCS 2016) gave an algorithm for testing biconnectivity using O(n+ min{m,n lg lgn}) bits in linear time. In this paper, we consider O(n) bits implementations of the classical applications of DFS. These include the problem of finding cut vertices, and biconnected components, chain decomposition and st-numbering. Classical algorithms for them typically use DFS and some Ω(lgn) bits of information at each node. OurO(n)-bit implementations for these problems takeO(m lg n lg lgn) time for some small constant c (c ≤ 3). Central to our implementation is a succinct representation of the DFS tree and a space efficient partitioning of the DFS tree into connected subtrees, which maybe of independent interest for space efficient graph algorithms. 1998 ACM Subject Classification F.1.1 Models of Computation, F.2.2 Nonnumerical Algorithms and Problems, G.2.2 Graph Theory
منابع مشابه
Biconnectivity, st-numbering and other applications of DFS using O(n) bits
We consider space efficient implementations of some classical applications of DFS including the problem of testing biconnectivity and 2-edge connectivity, finding cut vertices and cut edges, computing chain decomposition and st-numbering of a given undirected graphG on n vertices and m edges. Classical algorithms for them typically use DFS and some Ω(lgn) bits1 of information at each vertex. Bu...
متن کاملImplicit Decomposition for Write-Efficient Connectivity Algorithms
The future of main memory appears to lie in the direction of new technologies that provide strong capacity-to-performance ratios, but have write operations that are much more expensive than reads in terms of latency, bandwidth, and energy. Motivated by this trend, we propose sequential and parallel algorithms to solve graph connectivity problems using significantly fewer writes than conventiona...
متن کاملOptimal Randomized EREW PRAM Algorithms for Finding Spanning Forests
We present the rst randomized O(log n) time and O(m+n) work EREW PRAM algorithm for nding a spanning forest of an undirected graph G = (V; E) with n vertices and m edges. Our algorithm is optimal with respect to time, work and space. As a consequence we get optimal randomized EREW PRAM algorithms for other basic connectivity problems such as nding a bipartite partition, nding bridges and biconn...
متن کاملOn Succinct Representations of Binary Trees
We observe that a standard transformation between ordinal trees (arbitrary rooted trees with ordered children) and binary trees leads to interesting succinct binary tree representations. There are four symmetric versions of these transformations. Via these transformations we get four succinct representations of n-node binary trees that use 2n + n/(log n) bits and support (among other operations...
متن کاملPoly - Logarithmic Deterministic Fully - Dynamic GraphAlgorithms II : 2 - edge and biconnectivity
Deterministic fully dynamic algorithms are presented for 2-edge con-nectivity and biconnectivity. For 2-edge connectivity the amortized cost per operation is O(log 4 n) improving over the previous best deterministic bound of O(p n) and the previous best randomized bound of O(log 5 n). For biconnectivity the amortized cost per operation is also O(log 4 n) improving over the previous best determi...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2016